import request from '@/utils/request'

export function getClassLsit(query) {
  return request({
    url: '/mms/v1/class/list',
    method: 'get',
    params: query
  })
}

export function createClass(data) {
  return request({
    url: '/mms/v1/class/save',
    method: 'post',
    data
  })
}

export function deleteClass(data) {
  return request({
    url: '/mms/v1/class/delete',
    method: 'post',
    data
  })
}
